package com.lhy.mymall.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author: 卢辉宇
 * @date: 2022/12/19 15:53
 * @description: 订单生成请求类
 */
@Data
public class CreateOrderReq {

    @NotNull(message = "收件人不能为空")
    private String receiverName;

    @NotNull(message = "手机号不能为空")
    private String receiverMobile;

    @NotNull(message = "收件地址不能为空")
    private String receiverAddress;

    //运费默认为0
    private Integer postage=0;

    //支付方式默认在线支付
    private Integer paymentType=1;
}
